package com.offcn.sellergoods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.offcn.sellergoods.pojo.Brand;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface BrandMapper extends BaseMapper<Brand> {

    /**
     * 品牌列表展示数据 ——— 多选下拉组件
     * @return
     */
    @Select("select id , name as text from tb_brand")
    public List<Map> SelectOption();
}
